package com.qf.service;

import com.qf.mapper.UserMapper;
import com.qf.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fy
 * @version V1.0
 * @Project workspace
 * @Package com.qf.service
 * @Description:
 * @Date 2022/6/11 1:19
 */
@Service("service2")
public class UserServiceImpl2 implements UserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> findAll() {
        System.out.println("========UserService第二个接口实现类=======");
        List<User> list = userMapper.findUserAll();
        return list;
    }

    public void updateUser(User user) {

    }
}
